package com.taobao.aft.format;

import com.taobao.aft.exception.AofTranslateException;

public abstract class CmdFormat {
	protected final static String CHARSET = "UTF-8";
	protected final static String ARGCFLAG = "*";
	protected final static String CMDLENFLAG = "$";
	protected final static String CLR = "\r\n";
	

	public abstract CmdFormat createInstance();
	public abstract byte[] getAofFormat(String data) throws AofTranslateException;
}
